package com.xiaozeng.category.service;

import com.xiaozeng.param.ProductHotParam;
import com.xiaozeng.utils.Result;

/**
 * @Author: xiaozeng
 * @Date: 2022 11
 * @Description:
 **/
public interface CategoryService {

    /**
     * 类别详情查询
     * @param categoryName:类别名称
     */
    Result queryByName(String categoryName);

    Result hotsCategory(ProductHotParam productHotParam);

    /**
     * 所有类别ID及名字
     */
    Result list();
}
